package haizhi.fruitmall.pojo.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import haizhi.fruitmall.util.TimeUtil;

import java.util.Date;

public class GoodsParam {
    private Long paramId;

    private String paramValue;

    @JsonSerialize(using = TimeUtil.class)
    private Date createTime;

    @JsonSerialize(using = TimeUtil.class)
    private Date updateTime;

    private Integer typeId;

    public Long getParamId() {
        return paramId;
    }

    public void setParamId(Long paramId) {
        this.paramId = paramId;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue == null ? null : paramValue.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}